﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace lucere.toolkit.extension
{
    public static class LucereStringExtension
    {
        public static byte[] GetBytes(this string value)
        {
            //Lucene.NET uses UTF8 encoding.
            return UTF8Encoding.UTF8.GetBytes(value);
        }
    }
}
